<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- 引入 Bootstrap -->
      <link href="css/bootstrap-3.3.7/css/bootstrap.min.css" rel="stylesheet">

      <!-- HTML5 Shim 和 Respond.js 用于让 IE8 支持 HTML5元素和媒体查询 -->
      <!-- 注意： 如果通过 file://  引入 Respond.js 文件，则该文件无法起效果 -->
      <!--[if lt IE 9]>
         <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
         <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
      <![endif]-->
      <link rel="stylesheet" href="js/range/jquery.range.css">
     <link rel="stylesheet" href="css/index.css" >
    <script type="text/javascript" src="js/index.js"></script>
     <title>脸型</title>
</head>
<body>
<!-- 身形 -->
	<div id="figure">
		<div class="progress">
			<div class="progress-bar" role="progressbar" aria-valuenow="60"  aria-valuemin="0" aria-valuemax="100" style="width:51%;">
				3/6
			</div>
		</div>
		<div class="container figuretype">
			<div class="row">
				<div class="col-xs-2 col-xs-offset-5 progress-text">
					身形
				</div>
			</div>
			
			<div class="row">
				<div class="col-xs-5 col-xs-offset-1 choice-figure" figure-id="1">
					<img src="imgs/body1.png" class="img-responsive center-block body-max">
					<h5>直筒型</h5>
					<p>肩、腰、臀三围基本一致腰际无明显曲线</p>
				</div>
				<div class="col-xs-5  choice-figure" figure-id="2">
					<img src="imgs/body2.png" class="img-responsive center-block body-max">
					<h5 >梨形</h5>
					<p>上身瘦、下身胖臀部和大腿较丰满</p>
				</div>
			</div>
			<div class="row">
				<div class="col-xs-5 col-xs-offset-1 choice-figure" figure-id="3">
					<img src="imgs/body3.png" class="img-responsive center-block body-max">
					<h5>沙漏形</h5>
					<p>S曲线明显、胸大腰细臀宽俗称丰乳肥臀黄蜂腰</p>
				</div>
				<div class="col-xs-5  choice-figure" figure-id="4">
					<img src="imgs/body4.png" class="img-responsive center-block body-max">
					<h5 >苹果形</h5>
					<p>没有明显腰身腹部腰部比较丰满</p>
				</div>
			</div>
			<div class="row">
				<div class="col-xs-5 col-xs-offset-1 choice-figure" figure-id="5">
					<img src="imgs/body5.png" class="img-responsive center-block body-max">
					<h5>倒三角</h5>
					<p>上身胖、下身瘦、肩膀过宽或胸部丰满是主要困扰</p>
				</div>
			</div>	
			<div class="row butn">
				<a class="pull-left pre-btn" href="step2.html">上一步</a>
				<div class="col-xs-6 col-xs-offset-3">
				<button type="button" class="btn btn-warning btn-lg btn-block input-btn" id="stepTo4">下一步</button>
				<input type="hidden" name="figureid" id="figureid"/>
				</div>
			</div>		
		</div>
	</div>
      <script src="https://code.jquery.com/jquery.js"></script>
      <script src="css/bootstrap-3.3.7/js/bootstrap.min.js"></script>
      <script type="text/javascript" src="js/range/jquery.range.js"></script>
         <script type="text/javascript">
         choiceOne("choice-figure","figure-id","figureid");
      	$("#stepTo4").click(function(){
        	  var face=$("#figureid").val();
        	  if(!face){
        		  alert("请选择身形");
        		  return false;
        	  }
      		 window.location.href="step4.html"; 
      	})
      </script>
</body>
</html>